home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / genv.zip / GENV.BAT next >
DOS Batch File  |  1993-01-18  |  1KB  |  45 lines

  1. @echo off
  2. goto error
  3. REM
  4. REM GENV.BAT -- demonstration batch file to set up the environment
  5. REM             variables that PC Gopher II uses
  6. REM
  7. REM
  8. REM   variable   what it does
  9. REM   --------   ------------
  10. REM
  11. REM   g_tel      string passed to shell to execute telnet sessions;
  12. REM
  13. REM                 %n will be replaced by the name of the server
  14. REM                 %a will be replaced by the address of the server
  15. REM                 %p will be replaced by the port number of the server
  16. REM
  17. REM              4DOS users NOTE: you'll need to use %% instead of %
  18. REM
  19. REM   g_ovr      path and filename of overlay file; defaults to GOPHER.OVR
  20. REM              in the current directory
  21. REM
  22. REM   g_rez      path and filename of resource file; defaults to GOPHER.REZ
  23. REM              in the current directory
  24. REM
  25. REM   g_log      path and filename of error log file; defaults to GOPHER.LOG
  26. REM              in the current directory
  27. REM
  28. REM   myip       your PC's ip address
  29. REM
  30. REM   mymask     your PC's netmask
  31. REM
  32. REM
  33. REM
  34. REM
  35. REM BE SURE TO CHANGE THESE TO REFLECT YOUR SETUP
  36. REM
  37. set g_tel=c:\ncsa\telbin.exe -h c:\ncsa\config.tel %%a #%%p
  38. set g_ovr=p:\server\gopher.ovr
  39. set g_rez=x:\other\stuff\gopher.rez
  40. set g_log=z:\wimpy\bush\gopher.err
  41. set myip=127.0.0.1
  42. set mymask=255.255.0.0
  43. :error
  44. echo YOU MUST EDIT THIS FILE BEFORE USING IT!!!
  45.